$component-name: 'ui-cell';

$border-color-base: red;

.#{$component-name} {
	position: relative;
	display: block;
	padding: 20upx $h-spacing-base;
	font-size: $font-size-base;
	line-height: 48upx;
	background-color: #fff;
	text-decoration: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	outline: none;
	box-sizing: border-box;
	&.#{$component-name}__link:active {
		background-color: $fill-tap !important;
	}
	.#{$component-name}-box {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		&::after {
			position: absolute;
			box-sizing: border-box;
			content: ' ';
			pointer-events: none;
			right: 0;
			bottom: -19upx;
			left: 0upx;
			border-bottom: 1px solid #ebedf0;
			-webkit-transform: scaleY(0.5);
			transform: scaleY(0.5);
			display: block;
		}
	}
	.#{$component-name}--left {
		flex: 1;
		flex-direction: column;
	}
	.#{$component-name}--right {
		flex: 1;
		display: flex;
		align-items: flex-start;
		font-size: $font-size-base;
		color: $color-text-base;
		text-align: right;
		vertical-align: middle;
		word-wrap: break-word;
	}
	// title
	.#{$component-name}-title {
		display: block;
		line-height: 64upx;
		font-size: $font-size-base;
		color: $color-text-base;
	}
	.#{$component-name}-sub-title {
		display: block;
		line-height: 1;
		font-size: $font-size-caption;
		color: $color-text-caption;
		margin-top: 6upx;
	}
	.#{$component-name}-value{
		flex: 1;
	}
	.#{$component-name}-icon {
		display: flex;
		align-items: center;
		color: $color-text-base;
		font-size: $font-size-base;
		margin-left: 10upx;
		cursor: pointer;
	}

	// &:last-child {
	// 	.#{$component-name}-box::after {
	// 		display: none;
	// 	}
	// }
}

.#{$component-name}-group {
	background-color: $fill-body;

	.#{$component-name}-group--title {
		margin: 0;
		padding: 32upx 32upx 32upx;
		color: rgba(69, 90, 100, 0.6);
		font-weight: normal;
		font-size: 28upx;
		line-height: 32upx;
	}
}
